<template>
  <li>
    <div :key="index" v-for="(list, index) in treeData">
      {{list.name}}
    </div>
  </li>  
</template>

<script>
  const treeData = [
    { id: 1, name: '指标1', weight: 1, childer: [
      { id: 11, name: '指标11', weight: 2, childer: [
        { id: 111, name: '指标111', weight: 3 }
      ] }
    ]},
    { id: 2, name: "指标2", weight: 2 }
  ]
  export default{
    name: 'item',
    data () {
      return {
        treeData: treeData
      }
    }
  }
</script>